package com.tongji.showroom.model
{
	import com.adobe.serialization.json.JSON;
	
	import mx.collections.ArrayCollection;
	
	import org.robotlegs.mvcs.Actor;
	
	/**
	 * 
	 * @author jiarong
	 * 2011-11-1
	 *
	 */
	[Bindable]
	public class GetUserSceneModel extends Actor
	{
		public var scene:String;
		public var sceneArr:ArrayCollection;
		public var getUserSceneArr:ArrayCollection;
		
		public function GetUserSceneModel()
		{
			super();
		}
		
		public function updateUserScene(scene:String):void
		{
			this.scene = scene;
			var arr:Array = (JSON.decode(scene) as Array);
			sceneArr = new ArrayCollection(arr);
			getUserSceneArr = new ArrayCollection(sceneArr[0].VR_SceneList);
		}
	}
}